﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.IO;

namespace Contract
{
    [ServiceContract(Namespace = "Contract")]
    public interface IDataUploader
    {
        
        [OperationContract]
        void Upload(MyFile mf);

        [OperationContract]
        Stream Download(string name);

        [OperationContract]
        void Delete(string name);

        [OperationContract]
        MyFile[] Getfilesinfo(string Path);
    }

    [ServiceContract(Namespace = "Contract")]
    public interface ICallBack
    {

        [OperationContract]
        void SendMessageToClient(String msg);

    }


}
